package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 题目标题对象 p_question_topic
 *
 * @author ruoyi
 * @date 2022-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("p_question_topic")
public class PQuestionTopic extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 题目标题
     */
    @ApiModelProperty(value = "题目标题")
    private String title;
    /**
     * 测评人数
     */
    @ApiModelProperty(value = "测评人数")
    private Long personNum;
    /**
     * 题目图片
     */
    @ApiModelProperty(value = "题目图片")
    private String pic;
    /**
     * 题目描述
     */
    @ApiModelProperty(value = "题目描述")
    private String info;
    /**
     * 测试说明
     */
    @ApiModelProperty(value = "测试说明")
    private String testInstruction;

    @ApiModelProperty(value = "理论基础")
    private String testBasic;

    @ApiModelProperty(value = "评价须知")
    private String testEvaluate;

    @ApiModelProperty(value = "部分参考文献")
    private String testSection;

    @ApiModelProperty(value = "是否推荐 0 否 1 是")
    private String isRecommend;

    @ApiModelProperty(value = "测试价格")
    private BigDecimal price;

    @ApiModelProperty(value = "优惠价格")
    private BigDecimal newPrice;

    @ApiModelProperty(value = "测试类型 0 情感测试 1 性格测试 2 职场测试 3 心理测试")
    private String type;

    @ApiModelProperty(value = "封面路径")
    @TableField(exist = false)
    private String url;
}
